@import 'src/res/theme/xxhz';

.make-poster {
  background-color: $color-brand;
  line-height: 1.2;
  padding: 8px 12px;
  color: white;
  position: fixed;
  z-index: 99999;
  right: 10px;
  bottom: 12vh;
  border-radius: 66px;
  text-align: center;
  font-size: 24px;
}

.swiper-item-small-one {
  //width: 98% !important;
}

.canvas {
  position: fixed;
  top: 0;
  left: -2000px;
}

.sloganLists {
  position: relative;
  background: #fff;
  margin-bottom: 30px;
  width: 100%;
  overflow: auto;

  ul {
    height: 150Px;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-block: inherit;
    margin-inline: inherit;
  }

  ul li {
    height: 150Px;
    align-self: flex-start;
    font-size: 26px;
    white-space: pre-line;
    overflow: auto;
    color: #333333;
    word-break: break-word;
    background: #f8f8f8;
    padding: 20px;
    max-height: 150px;
    top: 0;
    position: absolute;
    width: 100%;
    div{
      width: calc(100% - 26px);
    }
  }

  .swiper-container-wrapper {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
  }

  .slogan-item {
    padding-left: 26px;
    padding-right: 26px;
  }

  .swiper-container-wrapper {
    height: initial !important;
  }

  .swiper-item-small {
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    .slogan-info {
      width: 100%;
      align-self: flex-start;
      font-size: 26px;
      white-space: pre-line;
      overflow: auto;
      color: #333333;
      word-break: break-word;
      background: #f8f8f8;
      padding: 20px;
      max-height: 150px;
    }

    .copy-text {
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      background: #f8f8f8;
      border-bottom-left-radius: 16px;
      border-bottom-right-radius: 16px;
      padding-bottom: 10px;
    }
  }
}

.poster-body {
  flex: 1;

  .loading-more-poster {
    padding: 20Px 30Px;
    padding-top: 0;
    text-align: center;

    .poster-save-tip {
      font-size: 26px;
      margin-bottom: 40px;
      color: #969799;
    }

    .gzh-close-img {
      width: 100%;
    }
  }
}

.share-poster {
  .saveToPhoto-box {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: -54Px;
    width: 100%;
    text-align: center;

    .saveToPhoto {
      color: #fff;
      border-radius: 64px;
      font-size: 40px;
      background: #ff8c3c;
      padding: 8px 34px;
    }
  }

  .share-poster-container {
    display: flex;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    background-color: rgba(0, 0, 0, .4);
    left: 0;
    z-index: 1001;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;

    .share-poster-body {
      position: relative;
      width: 80%;
      z-index: 9999;

      .gzh-close-img {
        width: 100%;
        z-index: 9999;
      }

      .share-poster-close {
        position: absolute;
        right: 0;
        top: -45Px;
      }
    }
  }

  .share-poster-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
  }
}

.inviteFriends-box {
  .overlay {
    top: 0;
    left: 0;
    z-index: 666;
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: rgba(0, 0, 0, .3);
    transition: opacity 300ms ease-in;
  }

  @keyframes positionY {
    0% {
      transform: translate3d(0, 100%, 0);
    }
    100% {
      transform: translate3d(0, 0, 0);
    }
  }

  .invite-box-wrapper {
    animation: .3s positionY;
    transition: all .3s cubic-bezier(.7, .6, .34, 1);

    .cube-tip-action-desc {
      margin-bottom: 16Px;
      font-size: 14Px;
      text-align: center;
      line-height: 18Px;
    }

    .invite-box-wrapper-info {
      padding-top: 26Px;
      margin: 0 47Px 16Px;
      display: flex;
      font-size: 28px;
      color: #969799;
      align-items: center;
      justify-content: space-around;

      .wrapper-info-item {
        display: flex;
        align-items: baseline;
      }

      .wrapper-info-text {
        margin-left: 6px;
      }
    }

    .invite-cancel {
      border-top: 10px solid rgba(197, 217, 232, .3);
      text-align: center;
      padding: 30px 0;
      font-size: 30px;
    }

    .invite-box {
      z-index: 999;
      padding: 0 34px 34px;
      display: flex;
      text-align: center;

      .invite-box-item {
        z-index: 999;
        font-size: 26px;
        margin-right: 60px;

        .img-icon {
          width: 48Px;
          height: 48Px;
          z-index: 999;
        }

        .img {
          z-index: 9999;
          width: 48Px;
          height: 48Px;
        }

        .item-name-h5 {
          color: #000;
          line-height: 2;
        }

        .invite-box-item-name {
          line-height: 2;
          margin-top: 4px;
        }
      }
    }

    .inviteFriends-box-title {
      padding: 34px 0;
      text-align: center;
      font-size: 30px;
      color: #000;
    }

    z-index: 9999;
    background: #FFF;
    position: fixed;
    bottom: 0;
    border-radius: 26px 26px 0 0;
    width: 100%;
  }
}

checkbox, .checkbox_checked, .taro-checkbox_checked {
  border-radius: 50%;
}

.check-box-poster {
  top: 10px;
  right: 10px;
  position: absolute;
}

.poster-wrap {
  height: 100vh;
  width: 100vw;
  background-color: rgba(0, 0, 0, 0.6);
  position: fixed;
  z-index: 899999;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;

  .box {
    position: relative;
    width: 90vw;
    /* height: 70vh; */
    background-color: white;
    box-sizing: border-box;
    padding: 0 30px 30px;
    border-radius: 20px;
    box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.5);
    font-size: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .text {
    width: 100%;
    height: 100%;
    display: block;
    white-space: pre-line;
  }

  .btn-box {
    width: 100%;
    // line-height: 30px;
    bottom: 20px;
    text-align: center;
    font-size: 14px;
    color: #666;
    display: flex;
    justify-content: space-between;
  }

  .btn {
    width: 24%;
    height: 62px;
    box-sizing: border-box;
    border: solid 1Px #f60;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: #f60;
    // line-height: 1;
    border-radius: 34px;
  }

  .btn2 {
    width: 45%;
    height: 62px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    background-color: #f60;
    color: #fff;
    line-height: 1;
    border-radius: 34px;
  }

  .btn3 {
    width: 24%;
    height: 62px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    background-color: #f60;
    color: #fff;
    line-height: 1;
    border-radius: 34px;
  }

}

.friends-slogan {
  height: 130px;
  margin-bottom: 30px;
  overflow: hidden;
}

.friends-slogan-h5 {
  overflow: auto;
}

.img-box-d {
  width: 100%;
  //height: 80vh;
  display: grid; // 开启grid布局
  grid-template-columns: repeat(3, 30%); // 设置列
  grid-template-rows: repeat(3, 30%); // 设置行
  grid-column-gap: 20px; // 设置网格之间的间距
  grid-row-gap: 50px; // 设置网格之间的间距
  .img-box-item {
    height: 150px;
    overflow: hidden;

    .img-box-item-img {
      width: 100%;
      height: 100%;
    }
  }
}

.dowload-btn-box {
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  flex-flow: column;

  .dowload-btn-one {
    width: 70%;
    height: 70px;
    background: #FF6600;
    border-radius: 24px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .dowload-btn-two {
    color: #646464;
    margin-top: 20px;
  }
}

.scrollview {
  height: 320px;
  overflow-anchor: auto;
}

//.no-commissionPrice {
//  padding-top: 20px !important;
//}

.btn-box-f-f {
  z-index: 999;
  width: 100%;
  background-color: #fff;
  padding: 20px 0;

  .btn-box-fixed-f {
    display: flex;
    align-items: center;
    justify-content: space-evenly;

    .btn-box-item-f {
      color: #646566;
      width: 100%;
      display: flex;
      flex-direction: column;
      text-align: center;
      align-items: center;
      font-size: 24px;

      .long-press-to-save-the-picture-f {
        font-size: 24px;
        color: #999;
        margin-bottom: 20px;
      }

      .img-f, .taro-img, image {
        width: 48Px;
        height: 48Px;
        border-radius: 10px;
        margin-bottom: 8Px;
      }
    }
  }
}

.img-box-poster {
  padding-right: 18px;
  display: flex;
  flex-wrap: nowrap;

  .viewContainer {
    padding: 0 26px;
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    height: 100%;
    justify-content: flex-start;

    .viewLabel {
      z-index: 1;
      padding: 0 12px 4px;
      font-size: 22px;
      position: absolute;
      top: 0;
      border-bottom-right-radius: 12px;
      border-bottom-left-radius: 12px;
      left: 26px;
      color: #fff;
      background-image: linear-gradient(to right, #ff6a53, #ff574b, #ff3c40, #ff2a39);
    }
  }

  .images-box:last-child {
    margin-right: 0;
  }

  .img-box {
    width: 100Px !important;
    height: 100Px !important;
  }

  .images-box {
    position: relative;
    height: calc(33.33333vw - 10.66667Px);
    width: calc(33.33333vw - 10.66667Px);
    margin-right: 20px;
    margin-bottom: 20px;

    .check-box {
      right: 0;
      top: 0;
      position: absolute;
    }
  }

  .img, image, .taro-img {
    width: 100%;
    height: 100%;
    margin-bottom: 16px;
    border-radius: 10px;
  }
}

.share-setting {
  display: flex;
  flex-direction: column;
  min-height: initial;
  max-height: initial;
  height: 100%;
  padding: 4px;

  .order-tabs {
    border-top: 1Px solid #f1f1f1;
    border-bottom: 1Px solid #f1f1f1;
    margin-bottom: 26px;
    height: initial;

    .at-tabs__header {
      background: none;
    }

    .at-tabs__item-underline {
      position: relative;
      bottom: -24px;
      width: 30Px;
      left: 0;
      height: 6px;
      border-radius: 3px;
      margin: 0 auto;
    }

    .at-tabs__item--active {
      color: #323233;
    }

    .at-tabs__item-underline, .at-tabs__underline {
      background-color: $mainColor;
    }

    .at-tabs__item {
      color: #646566;
      font-size: 30px;
    }

    .at-tabs__item--active {
      color: #323233;
      font-weight: 500;
    }
  }

  .btn-box-f {
    z-index: 9999;
    width: 100%;
    background-color: #fff;
    border-top: 8px solid #f7f8fa;
    padding: 20px 0;

    .btn-box-fixed {
      display: flex;
      align-items: center;
      justify-content: space-evenly;

      .btn-box-item {
        color: #646566;
        width: 100%;
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
        font-size: 24px;

        .long-press-to-save-the-picture {
          font-size: 24px;
          color: #999;
          margin-bottom: 20px;
        }

        .img, .taro-img, image {
          width: 48Px;
          height: 48Px;
          border-radius: 10px;
          margin-bottom: 8Px;
        }
      }
    }
  }

  .share-earn-wrapper {
    position: relative;

    .panel-desc {
      text-align: center;
      font-size: 24px;
      margin: 8px 0;
      margin-bottom: 26px;
      color: #969799;
    }

    .close-btn {
      position: absolute;
      right: 20px;
      top: 4px;
    }

    .share-earn {
      font-size: 28px;
      color: #323233;
      text-align: center;
      margin-top: 8px;

      .money {
        font-size: 30px;
        color: #ea572a;
      }

      .price {
        color: #ea572a;
      }
    }
  }

  .slogan {
    width: 84%;
    margin: auto;
    position: relative;
    height: 220px;
    display: flex;

    .slogan-item {
      display: flex;
      width: 100%;

      .slogan-items {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        flex: 0 0 100%;
        border-radius: 10px;

        background-color: #f8f8f8;
        padding: 30px 20px 20px 20px;
        -webkit-line-clamp: 2;
        /*! autoprefixer: ignore next */
        -webkit-box-orient: vertical;
        /* autoprefixer: on */
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        height: 130px;
      }

      .slogan-items:last-child {
        margin-right: 0;
      }
    }
  }

  .share-button {
    background: transparent;
    border: none;
    line-height: inherit;
    padding: 0;
    margin: 0;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .share-button::after {
    border: none;
  }
}

.weappitems-swiper {
  background-color: #f8f8f8;
  padding: 20px;
  overflow: auto;

  .slogan-info {
    background: initial !important;
  }
}

.sloganLists {
  .swiper-item-small {
    border-radius: 12px;
  }
}

.share-lead {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .8);
  z-index: 8888;
  box-sizing: border-box;
  color: #fff;
  text-align: center;
  line-height: 30px;

  .share-guide-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    box-sizing: border-box;
    color: #fff;
    text-align: center;
    line-height: 30px;
  }

  .share-guide-p-t {
    padding-top: 300px;
  }

  .share-guide__title {
    margin-top: 20px;
    font-size: 40px;
    font-weight: 500;
  }

  .share-guide__sub {
    margin-top: 30px;
    font-size: 28px;
  }

  .share-guide__arrow {
    position: absolute;
    top: 10Px;
    right: 30Px;
    background: url(https://resource.ivcheng.com/upload/images/20211101/1635730981086_923.png) no-repeat;
    width: 66Px;
    height: 117Px;
    background-size: contain;
  }
}

.saveImageBtnWrapper {
  display: flex;
  align-items: center;
  margin: 40px 0;
  justify-content: center;

  .saveImageBtn {
    font-size: 24px;
    color: #fff;
    border-radius: 64px;
    padding: 10Px 16Px;
    display: flex;
    letter-spacing: 1px;
    align-items: center;
    justify-content: center;
  }
}
